package com.love.netty.controller;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.love.netty.model.FeedBack;
import com.love.netty.service.IFeedBackService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 反馈 前端控制器
 * </p>
 *
 * @author wuj
 * @since 2021-06-09
 */
@RestController
@RequestMapping("/feedBack")
public class FeedBackController {

    @Autowired
    private IFeedBackService iFeedBackService;


    @GetMapping("/getList")
    public Page<FeedBack> getAllfeeBack(){
        Page<FeedBack> feedBack = iFeedBackService.selectPageVo();
        return feedBack;
    }

}
